{% extends "sentry/layout.html" %}

{% load i18n %}
{% load sentry_docs %}
{% load sentry_helpers %}

{% block wrapperclass %}docs{% endblock %}

{% block scripts_bottom %}
  <script>
    (function(){
      if($("#toc").length) {
        var toc = $("#toc");

        $(".docs .main h4").each(function(i) {
          $(toc).append('<li><a href="#' + $(this).attr("id") +'">' + $(this).text() +'</a></li>');
        })
      }
    })();
  </script>
{% endblock %}

{% block sidebar %}
  {% render_doc_sidebar %}
{% endblock %}

{% block main %}
  <h3>Sentry Documentation</h3>
  <p>Welcome to the Sentry Docs. Reading through the guides and reference here will give you a complete understanding of how Sentry works and how to get the most out of it. We recommend that you read through the Guides first, then on to the client installation instructions for your specific platform.</p>

  <h3>Contacting a human</h3>
  <p>If your specific question or concern isn't covered in the docs, we're here to help. Please don't hesitate to:</p>

  <ul>
    <li><a href="https://groups.google.com/group/getsentry">Post to our public user group</a></li>
    <li><a href="irc://irc.freenode.net/sentry">Chat with us on #sentry (irc.freenode.net)</a></li>
    {% block help_contact_links %}
        {% comment %}This block is used by sentry.io{% endcomment %}
    {% endblock %}
  </ul>

  <h3>Contributing</h3>

  <p>Just like Sentry itself, our docs are <a href="https://github.com/getsentry/sentry">open source</a>. If you've found an error or think something could be explained more clearly, you're always welcomed (and encouraged) to submit a pull request.</p>

{% endblock main %}
